<%-- 
    Document   : theme
    Created on : Dec 4, 2014, 12:50:44 PM
    Author     : Hai
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="/error.jsp"%>
<%

    class ObjUI {

        private String head;
        private String header;
        private String body;
        private String other;

        public ObjUI() {
            this.head = "";
            this.header = "";
            this.body = "";
            this.other = "";
        }

        public ObjUI(String head, String header, String body, String other) {
            this.head = head;
            this.header = header;
            this.body = body;
            this.other = other;
        }

        public String getHead() {
            return head;
        }

        public String getHeader() {
            return header;
        }

        public String getBody() {
            return body;
        }

        public String getOther() {
            return other;
        }

        public void setHead(String head) {
            this.head = head;
        }

        public void setHeader(String header) {
            this.header = header;
        }

        public void setBody(String body) {
            this.body = body;
        }

        public void setOther(String other) {
            this.other = other;
        }

    }

    ObjUI UI = new ObjUI();
    UI.setHead(head);
    UI.setHeader(header);
    UI.setBody(body);
    UI.setOther(other);

%>



<!DOCTYPE html>
<html>
    <head>
        <%@include file="/configDefaultHead.jsp" %>
        <% out.print(UI.getHead()); %>

    </head>
    <body>
        <header>
            <%@include file="/header.jsp" %>
            <% out.print(UI.getHeader());
            %>
        </header>
        <div class="myContainer">
            <% out.print(UI.getBody());
            %>
        </div>
        <% out.print(UI.getOther());
        %>
        <footer>
            <p>Author: Lương Thế Hai - Lê Thanh Hải</p>
        </footer>
    </body>
</html>